<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Add Card</title>
</head>
<body>
<form name="card_form" class="form-inline" ng-submit="card_form.$valid && fc.addCard(cw)"
      novalidate>
    名称：<input id="card_name" type="text" ng-model="fc.card.name" required/>
    费用：<input id="card_cost" type="text" ng-model="fc.card.cost" required/>
    攻击力：<input id="card_attack" type="text" ng-model="fc.card.attack" required/>
    生命值：<input id="card_life" type="text" ng-model="fc.card.life" required/>
    <input id="form_submit" type="submit" value="提交" class="btn-primary"/>
</form>
</body>
</html>